<extend name="Member:base" />
<block name="title"><title>心心向善-换货服务</title></block>
		<!-- 头部结束-->
<block name="body">

			<!--<主要区块>-->

			<div class="right-layout">

				<div class="ncm-flow-layout">
					<div class="ncm-flow-container">
						<div class="title">
							<h3>换货服务</h3>
						</div>
						<div class="alert">
							<h4>提示：</h4>
							<ul>
								<li>1. 提出申请后，需将所要退换的商品退回给商家，商家收到退回商品<em>“验证之后”</em>才会审核申请。</li>
								<li>2. 成功完成换货；经过商家审核后，会将所需退换商品按<em>“换货数量”</em>重新发货，届时请注意收货。</li>
							</ul>
						</div>
						<div id="saleRefund" show_id="1">
							<div class="ncm-flow-step">
								<dl class="step-first current">
									<dt>买家申请换货</dt>
									<dd class="bg"></dd>
								</dl>
								<dl <if condition="$list.status gt '1'" >class="current"<else/>class=""</if>>
									<dt>已重新发货请注意查收</dt>
									<dd class="bg"> </dd>
								</dl>
								<!-- <dl <if condition="$list.status gt '2'" >class="current"<else/>class=""</if>>
									<dt>平台审核，退款完成</dt>
									<dd class="bg"> </dd>
								</dl> -->
							</div>
							<div class=" ncm-default-form">
								<h3>我的换货申请</h3>
								<dl>
									<dt>换货编号：</dt>
									<dd>{$list.tk_num}</dd>
								</dl>
								<dl>

								<if condition="$list.product_name eq '订单商品全部退款'" >
								    <dt>退款说明：</dt>
								<else/>
								    <dt>商品名称：</dt>
								</if>
								    <dd>{$list.product_name}</dd>
									
								</dl>
								<dl>
									<dt>换货单价：</dt>
									<dd>¥{$list.product_price}</dd>
								</dl>
								<dl>
									<dt>换货数量：</dt>
									<dd>{$list.product_num}</dd>
								</dl>
								<dl>
									<dt>换货原因：</dt>
									<dd>{$list.tkyy}</dd>
								</dl>
								<dl>
									<dt>凭证上传：</dt>
									<dd>
										<ul class="ncm-evidence-pic">
											<li>
												<a href="#" nctype="nyroModal" rel="gal"> 
												<img class="show_image" src="{$list.tk_pic}" onmouseover="toolTip('<img src={$list.tk_pic}>')" onmouseout="toolTip()">
												</a>
											</li>
										</ul>
									</dd>
								</dl>
								<h3>商家换货处理</h3>
								<dl>
									<dt>审核状态：</dt>
									<dd>
									<if condition="$list.status eq 1" >待商家审核</if>
								    <if condition="$list.status eq 2" >审核通过</if>
								    <!-- <if condition="$list.status eq 3" >退款成功</if> -->
									</dd>
								</dl>
								<div class="bottom">
									<a href="javascript:history.go(-1);" class="ncm-btn">返回列表</a>
								</div>
							</div>
						</div>
					</div>

					<div class="ncm-flow-item">
						<div class="title">相关商品交易信息</div>
						<div class="item-goods">
						<?php foreach($list2['sptable'] as $key => $value){?>
							<dl>
								<dt>
          <div class="ncm-goods-thumb-mini"><a target="_blank" href="#">
            <img src="<?php echo $value['product_pic']?>" onmouseover="toolTip('<img src=<?php echo $value['product_pic']?>>')" onmouseout="toolTip()"></a></div>
        </dt>
								<dd>
									<a target="_blank" href="#"><?php echo $value['product_name']?></a>
									¥<?php echo $value['product_price']?> * <?php echo $value['product_num']?>
									<font color="#AAA">(数量)</font>
									<span></span>
								</dd>
							</dl>
						<?php }?>
						</div>
						<div class="item-order">
							<dl>
								<dt>运&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;费：</dt>
								<dd>
								<if condition="$list2.shipping_fee eq 0" >（免运费）
								<else/>
								¥{$list2.shipping_fee}
								</if>
								</dd>
							</dl>
							<dl>
								<dt>订单总额：</dt>
								<dd><strong>¥{$list2.order_amount}                    </strong> </dd>
							</dl>
							<dl class="line">
								<dt>订单编号：</dt>
								<dd>
									<a target="_blank" href="#">{$list2.order_sn}</a>
									<a href="javascript:void(0);" class="a">更多
										<div class="more"> <span class="arrow"></span>
											<ul>
												<li>付款单号：<span>{$list2.pay_sn}</span></li>
												<li>支付方式：<span>{$list2.payment_code}</span></li>
												<li>下单时间：<span>{$list2.add_time|date="Y-m-d H:i:s",###}</span></li>
												<li>付款时间：<span>{$list2.payment_time|date="Y-m-d H:i:s",###}</span></li>
											</ul>
										</div>
									</a>
								</dd>
							</dl>
							<dl class="line">
								<dt>商&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;家：</dt>
								<dd>{$list2.store_name}
									<a href="javascript:void(0);" class="a">更多
										<div class="more"><span class="arrow"></span>
											<ul>
												<li>所在地区：{$sjmc.area_info}<span>&nbsp;</span></li>
												<li>联系电话：{$sjmc.store_phone}<span></span></li>
											</ul>
										</div>
									</a>
									<div><span member_id="4"></span>
									</div>
								</dd>
							</dl>
						</div>
					</div>
				</div>
				<!--<script src="http://www.rate.net/data/resource/js/jquery.nyroModal/custom.min.js"></script>
				<link href="http://www.rate.net/data/resource/js/jquery.nyroModal/styles/nyroModal.css" rel="stylesheet" type="text/css" id="cssfile2">
				<script>
					$(document).ready(function() {
						$('a[nctype="nyroModal"]').nyroModal();
					});
				</script>-->
			</div>

			<!--</主要区块>-->
			<div class="clear"></div>
		</div>
	</block>